#ifndef WORKER_H
#define WORKER_H

#include <QThread>
#include <QTcpSocket>
#include <QTcpServer>
#include <kportroutingtable.hpp>
#include <kportthreadpool.hpp>
#include <coreutil.hpp>
#include <coredataqueue.hpp>
#include <QAtomicInt>

class worker : public QThread
{
    Q_OBJECT;
public:
    worker();
    uint getIO();

protected:
    void run();
private:
    kportThreadPool * pool;
    QAtomicInt ioread;
};

#endif // WORKER_H
